package cn.tedu.carehome.foundation.service;

import cn.tedu.carehome.foundation.ex.ServiceException;
import cn.tedu.carehome.foundation.pojo.dto.AssessAddNewDTO;
import cn.tedu.carehome.foundation.pojo.dto.AssessUpdateDTO;
import cn.tedu.carehome.foundation.pojo.vo.AssessAdminListVO;
import cn.tedu.carehome.foundation.pojo.vo.AssessAdminStandardVO;
import cn.tedu.carehome.foundation.pojo.vo.AssessAdminUpdateStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional(rollbackFor = ServiceException.class)
public interface IAssessService {
    void  addNew(AssessAddNewDTO bedAddNewDTO);

    void deleteByid(Long id);

    List<AssessAdminListVO> list();

    AssessAdminStandardVO getStandardByid(Long id);

}
